#-*-encoding=utf-8-*-
name=u'permission'
title=u'权限申请'
description=u'None'
fields=(
    ReferenceField(
        title=u'文档(填写编号)',
        default_value_exp=u'[]',
        name=u'doc'
),
    SingleSelectField(
        title=u'申请的权限',
        vocabulary_exp=u"[('zopen.PrivateReader2', '2级查看：预览，评注和订阅'), ('zopen.PrivateReader3', '3级查看：打印，下载pdf'), ('zopen.PrivateReader4','4级查看:下载原始文件、复制，下载历史版本'), ('zopen.PrivateReader', '5级查看：邮件外发'), ('zopen.Editor', '编辑修改')]",
        limit=4,
        default_value_exp=u"'zopen.PrivateReader2'",
        name=u'permission'
),
    TextField(
        rows=5,
        title=u'申请说明',
        cols=10,
        default_value_exp=u'""',
        name=u'comment'
),)

fields_validation_script=ur""""""
